package com.me.modules.questionnaire.service;

import com.me.modules.questionnaire.entity.AnAnswerEntity;

import java.util.List;
import java.util.Map;

/**
 * 答案表
 *
 * @author me
 * @email me@163.com
 * @date 2019-01-23 10:05:47
 */
public interface AnAnswerService {

	AnAnswerEntity queryObject(Integer id);

	List<AnAnswerEntity> queryList(Map<String, Object> map);

    List<AnAnswerEntity> queryListByBean(AnAnswerEntity entity);

	int queryTotal(Map<String, Object> map);

	int save(AnAnswerEntity anAnswer);

	int update(AnAnswerEntity anAnswer);

	int delete(Integer id);

	int deleteBatch(Integer[] ids);
}
